<template>
  <el-row type="flex" justify="center">
    <el-button type="primary" @click="save()" v-show="shwHde[0]">提交</el-button>
    <el-button @click="getBack()" v-show="shwHde[1]">返回</el-button>
  </el-row>
</template>
<script>
export default {
  props: { shwHde: { type: Array, required: true } },
  methods: {
    save() {
      this.$parent.save();
    },
    getBack() {
      this.$parent.getBack();
    },
  },
};
</script>